<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        
        body{
            background-color: red;
        }
        @media (min-width: 768px){
            body{
                background-color: blue;
            }
        }
        @media (min-width: 992px){
            body{
                background-color: greenyellow;
            }
        }
        @media (min-width: 1200px){
            body{
                background-color: black;
            }
        }
    </style>
</head>
<body>
    <div class="box"></div>
</body>
</html>